home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / doors_2 / valen102.zip / COMPRESS.CFG < prev    next >
Text File  |  1993-03-16  |  5KB  |  118 lines

  1. ; :::: COMPRESS.CFG ::::
  2.  
  3. ; This is a modified version of Squish's COMPRESS.CFG, the archiver
  4. ; configuration file. For more info on the format, please see the original.
  5. ; See also VALENCE.ORG.
  6.  
  7. ; If you're already using a COMPRESS.CFG elsewhere on your system, delete
  8. ; this file, uncomment the "Compress" keyword in VALENCE.CFG and fill in the
  9. ; pathname there. But before you delete this file, please read my comments:
  10.  
  11. ; You'll notice that unlike the original COMPRESS.CFG, this file has ".EXE"
  12. ; appended to the archiver program names. The EXEC shell in Valence works
  13. ; like Searchlight's Door and Protocol drivers: if the program name has a
  14. ; ".EXE" or ".COM" extension, it shells directly to the program; otherwise,
  15. ; as with batch files, it executes a "<comspec> /C progname etc.". This
  16. ; takes up more memory and loading time, so I recommend you add the proper
  17. ; extension to all program names in your COMPRESS.CFG. This will probably be
  18. ; ignored by Squish, and should be harmless in any case.
  19.  
  20. ; Another modification that will speed up Valence, and should also speed up
  21. ; Squish, is the inclusion of full pathnames (e.q., "C:\SQUEEZE\PKZIP.EXE").
  22. ; Without a path, Valence will search DOS' path for the program; with a
  23. ; path, it will shell directly to it.
  24.  
  25. ; If you're going to use this file, comment out or delete the entries for
  26. ; the archivers you don't have on your system, or just don't want people to
  27. ; use. You can also add new entries - see Squish's COMPRESS.CFG and
  28. ; documentation for details.
  29.  
  30. ; Valence stores each user's chosen archiver in the user file by name - the
  31. ; part after the keyword "Archiver". Only the first ten characters of the
  32. ; name are significant.
  33.  
  34. ; The "View" and "End Archiver" lines are ignored by Valence and can be
  35. ; removed if you're not going to use this file with any other program.
  36. ; Unlike Squish, Valence DOES use the "Extension" field, but only in Text
  37. ; packet mode. Please note the difference between the "Archiver" and
  38. ; "Extension" fields, even though these are frequently the same.
  39.  
  40. Archiver ARC
  41.   Extension     ARC
  42.   Ident         0,1a
  43.   Add           pkpak.exe -oct a %a %f
  44.   Extract       pkunpak.exe /r %a %f
  45.   View          pkpak.exe v %a
  46. End Archiver
  47.  
  48. ; I recommend you remove or modify the "PAK" entry. I've included it here
  49. ; just as it appears in the orginal COMPRESS.CFG, for the sake of
  50. ; compatibilty, but as given, it WILL NOT WORK, with either Valence or (I'm
  51. ; pretty sure) Squish. The reason is that the byte 0FEh (254 decimal), which
  52. ; according to the "Ident" field below is supposed to appear as the last
  53. ; byte of a PAK file, actually appears at different locations NEAR the end
  54. ; of the file - sometimes third from the end, sometimes second, etc. At
  55. ; least, that's what I found with archives produced by PAK 2.51.
  56.  
  57. ; If you want to use PAK, I recommend you change the entry for "Extract"
  58. ; under "ARC" (above) to the entry below ("pak.exe e /wn %a %f"), thus
  59. ; allowing PAK to extract both ARC and PAK files, which it can do
  60. ; automatically. You could also modify the "Add" entry to let PAK archive
  61. ; the ARCs, too (that requires another option switch - see your PAK manual
  62. ; for more info), and do away with the need for PKPAK/PKUNPAK altogether.
  63.  
  64. ; Archiver PAK
  65. ;   Extension     PAK
  66. ;   Ident         -2,fe
  67. ;   Add           pak.exe a %a %f
  68. ;   Extract       pak.exe e /wn %a %f
  69. ;   View          pak.exe v %a
  70. ; End Archiver
  71.  
  72. Archiver ZIP
  73.   Extension     ZIP
  74.   Ident         0,504b0304
  75.   Add           pkzip.exe -a %a %f
  76.   Extract       pkunzip.exe -o %a %f
  77.   View          pkunzip.exe -v %a
  78. End Archiver
  79.  
  80. ; This entry, "LH113", makes the new LHA archive in the old format, for
  81. ; compatibility. You might remove it if you have no one using older LHarcs,
  82. ; and if it seems confusing to users.
  83.  
  84. Archiver LH113
  85.   Extension     LZH
  86.   Ident         2,2d6c68
  87.   Add           lha.exe a /o /m %a %f
  88.   Extract       lha.exe e %a %f
  89.   View          lha.exe l %a
  90. End Archiver
  91.  
  92. Archiver LHarc
  93.   Extension     LZH
  94.   Ident         2,2d6c68
  95.   Add           lha.exe a /m %a %f
  96.   Extract       lha.exe e %a %f
  97.   View          lha.exe l %a
  98. End Archiver
  99.  
  100. Archiver ZOO
  101.   Extension     ZOO
  102.   Ident         0,5a4f4f
  103.   Add           zoo.exe a: %a %f
  104.   Extract       zoo.exe e:O %a %f
  105.   View          zoo.exe v %a
  106. End Archiver
  107.  
  108. ; Remember, ARJ requires a hideous amount of memory to run. You might want
  109. ; to add a "-m4" or the like to the command line to squeeze it down.
  110.  
  111. Archiver ARJ
  112.   Extension     ARJ
  113.   Ident         0,60ea
  114.   Add           arj.exe a -e %a %f
  115.   Extract       arj.exe e -n %a %f
  116.   View          arj.exe l %a
  117. End Archiver
  118.